package com.mf.framework.component.excel;

/**
 * 虚拟列
 * User: zhaoming
 * Date: 2017-03-16
 * To change this template use File | Settings | File Templates.
 **/
public class VirtualColumn {

    /**
     * 列名
     */
    private String columnName;
    /**
     * 起始位置
     */
    private Integer firstCol;
    /**
     * 结束位置
     */
    private Integer lastCol;

    public VirtualColumn(String columnName, Integer firstCol){
        this.columnName = columnName;
        this.firstCol = firstCol;
        this.lastCol = firstCol;
    }

    public VirtualColumn(String columnName, Integer firstCol, Integer lastCol){
        this.columnName = columnName;
        this.firstCol = firstCol;
        this.lastCol = lastCol;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public Integer getFirstCol() {
        return firstCol;
    }

    public void setFirstCol(Integer firstCol) {
        this.firstCol = firstCol;
    }

    public Integer getLastCol() {
        return lastCol;
    }

    public void setLastCol(Integer lastCol) {
        this.lastCol = lastCol;
    }
}
